.class Lcom/fiberhome/xloc/broadcast/a;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/fiberhome/xloc/broadcast/AliveService;


# direct methods
.method constructor <init>(Lcom/fiberhome/xloc/broadcast/AliveService;)V
    .locals 0

    iput-object p1, p0, Lcom/fiberhome/xloc/broadcast/a;->a:Lcom/fiberhome/xloc/broadcast/AliveService;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    const-string/jumbo v0, "AS Send"

    invoke-static {v0}, Lcom/fiberhome/xloc/c/a;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/fiberhome/xloc/broadcast/a;->a:Lcom/fiberhome/xloc/broadcast/AliveService;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-static {v0, v2, v3}, Lcom/fiberhome/xloc/broadcast/AliveService;->a(Lcom/fiberhome/xloc/broadcast/AliveService;J)J

    new-instance v0, Landroid/content/Intent;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/fiberhome/xloc/broadcast/a;->a:Lcom/fiberhome/xloc/broadcast/AliveService;

    invoke-virtual {v2}, Lcom/fiberhome/xloc/broadcast/AliveService;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;

    move-result-object v2

    iget-object v2, v2, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "com.fiberhome.xloc.location"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/fiberhome/xloc/broadcast/a;->a:Lcom/fiberhome/xloc/broadcast/AliveService;

    invoke-virtual {v1}, Lcom/fiberhome/xloc/broadcast/AliveService;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/content/Context;->sendBroadcast(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/fiberhome/xloc/broadcast/a;->a:Lcom/fiberhome/xloc/broadcast/AliveService;

    iget-object v1, p0, Lcom/fiberhome/xloc/broadcast/a;->a:Lcom/fiberhome/xloc/broadcast/AliveService;

    invoke-static {v1}, Lcom/fiberhome/xloc/broadcast/AliveService;->a(Lcom/fiberhome/xloc/broadcast/AliveService;)J

    move-result-wide v2

    invoke-static {v0, v2, v3}, Lcom/fiberhome/xloc/broadcast/AliveService;->b(Lcom/fiberhome/xloc/broadcast/AliveService;J)V

    return-void
.end method
